# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-theodore
pkgver=3.1
pkgrel=0
pkgdesc="Thomson TO8/TO8D/TO9/TO9+ emulation for libretro"
url="https://github.com/Zlika/theodore"
arch="all"
license="GPL-3.0-only"
source="https://github.com/Zlika/theodore/archive/v$pkgver/theodore-$pkgver.tar.gz"
builddir="$srcdir/theodore-$pkgver"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 theodore_libretro.so "$pkgdir"/usr/lib/libretro/theodore_libretro.so
}

sha512sums="
6c89d8d61d50cd3dd0e836603c4d3282fe391099df3833ce785d4dc932218ae3debc5fbac6ba5fe7d8eea38eb0c96c37a1296a52bfd17f734216e39c8499fd07  theodore-3.1.tar.gz
"
